package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商信息对象 supplier_info
 * 
 * @author ruoyi
 * @date 2024-05-18
 */
public class SupplierInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商编码 */
    private String supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkman;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String linkmanTel;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 询价状态 */
    @Excel(name = "询价状态")
    private String status;

    /** 上次询价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次询价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastInquiryTime;

    public void setSupplierId(String supplierId) 
    {
        this.supplierId = supplierId;
    }

    public String getSupplierId() 
    {
        return supplierId;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setLinkman(String linkman) 
    {
        this.linkman = linkman;
    }

    public String getLinkman() 
    {
        return linkman;
    }
    public void setLinkmanTel(String linkmanTel) 
    {
        this.linkmanTel = linkmanTel;
    }

    public String getLinkmanTel() 
    {
        return linkmanTel;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setLastInquiryTime(Date lastInquiryTime) 
    {
        this.lastInquiryTime = lastInquiryTime;
    }

    public Date getLastInquiryTime() 
    {
        return lastInquiryTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("linkman", getLinkman())
            .append("linkmanTel", getLinkmanTel())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("lastInquiryTime", getLastInquiryTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
